package com.hjq.fcloud.bean;

import com.hjq.fcloud.R;
import com.hjq.fcloud.app.AppApplication;

public class RegulatoryMaterialConfirmationDetailBean extends BaseDetailData{
    private String right_confirm_apply_mode;

    public String getRight_confirm_apply_mode() {
        return right_confirm_apply_mode == null ? "" : right_confirm_apply_mode;
    }

    public void setRight_confirm_apply_mode(String right_confirm_apply_mode) {
        this.right_confirm_apply_mode = right_confirm_apply_mode;
    }

    /**
     * 签约方式，1网签 2上传纸质文件
     */
    public String getDebtConfirmModeName() {
        if (getRight_confirm_apply_mode().equals("1")) {
            return AppApplication.mContext.getResources().getString(R.string.string_sign_mode_from_app);
        } else if (getRight_confirm_apply_mode().equals("2")) {
            return AppApplication.mContext.getResources().getString(R.string.string_sign_mode_from_web);
        }
        return "";
    }
}
